Automattic\Jetpack\Forms\ContactForm\Contact_Form D

Total Complexity 226
Dependencies 4
Dependents 5
Total lines 1,732
Lines of code 905
Logical lines of code 535
Comment lines 631
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
process_submission()
D
12
67 320
parse()
D
27
38 119
parse_contact_field()
C
36 29 68
get_compiled_form_for_email()
B
38 15 67
__construct()
A
37 13 72
get_compiled_form()
A
40 13 57
get_default_label_from_type()
A
46 12 41
get_field_ids()
A
47 11 37
store_shortcode()
S
60 6 12
addslashes_deep()
S
61 4 12
wrap_message_in_html_tags()
S
55 3 20
success_message()
S
56 2 19
get_block_alignment_class()
S
63 3 10
add_name_to_address()
S
68 2 7
esc_shortcode_val()
S
63 1 11
remove_empty()
S
79 1 3
style()
S
73 1 5
wp_mail()
S
65 1 8
get_mail_content_type()
S
81 1 3
escape_and_sanitize_field_value()
S
74 1 4
add_plain_text_alternative()
S
67 1 7
style_on()
S
79 1 3